<h1>Listing Users</h1>
﻿<div class="mainbody">
  <table border="0"  cellspacing="0" cellpadding="0" style="width:100%;">
    <% for user in @users %>
		<tr valign="top" class="<%= cycle('list-line-odd', 'list-line-even') %>">
		  <td width="60%">
		    <span class="list-title"><%=link_to user.name, admin_user_path(user) %></span><br/>
		    Created at: <%= user.created_at.to_s(:long) %>
		  </td>
		  <td class="list-actions">
		    <br>
		    (<%= link_to '编辑用户', edit_admin_user_path(user) %>)<br>
		    (<%= link_to '删除用户', admin_user_path(user) , :confirm => 'Are you sure?', :method => :delete %>)
		  </td>
		</tr>
	<%end%>
  </table>
</div>





